package com.iflytek.service;

import java.util.List;

import com.github.pagehelper.Page;
import com.iflytek.bean.Book;

public interface BookService {

	List<Book> getAllBooks();

	Book findBookById(Integer id);

	void saveBook(Book book);

	void updateBook(Book book);

	void deleteBook(Integer id);

	Page<Book> getBooksByPage(Integer pageNum, Integer pageSize);

}
